package com.study.prototype.general;

public class Client {
    public static void main(String[] args) {
        ConcretePrototype prototype = new ConcretePrototype();
        prototype.setName("tom");
        prototype.setAge(18);
        System.out.println(prototype);

        ConcretePrototype clone = prototype.clone();
        System.out.println(clone);

        System.out.println(prototype == clone);
    }
}
